package cn.com.xcf.service.impl;

import cn.com.xcf.dao.mapper.TCheckIncomeDetailMapper;
import cn.com.xcf.dao.model.TCheckIncomeDetail;
import cn.com.xcf.dao.model.TCheckIncomeDetailExample;
import cn.com.xcf.service.TCheckIncomeDetailService;
import cn.com.xcf.service.base.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.PostConstruct;

/**
 * TCheckIncomeDetailService实现
 * @author WongBin
 * @date 2017/11/22.
 */
@Transactional(rollbackFor = Exception.class)
public class TCheckIncomeDetailServiceImpl
        extends BaseServiceImpl<TCheckIncomeDetailMapper, TCheckIncomeDetail, TCheckIncomeDetailExample>
        implements TCheckIncomeDetailService {

    private TCheckIncomeDetailMapper checkIncomeDetailMapper;
    public void setCheckIncomeDetailMapper(TCheckIncomeDetailMapper tCheckIncomeDetailMapper) {
        this.checkIncomeDetailMapper = tCheckIncomeDetailMapper;
    }
    @Override
    public void initMapper() {
        //super.initMapper();
        super.mapper = checkIncomeDetailMapper;
    }
}